<script setup>
defineProps(["title"]);
</script>

<template>
  <div class="ExchangeOrderTop">
    <img
      src="/images/Me/ExchangeOrderPageBtn.png"
      alt=""
      class="btn"
      @click="$router.back()"
    />
    <div class="title">{{ title }}</div>
  </div>
  <div class="mask"></div>
</template>

<style lang="scss" scoped>
.ExchangeOrderTop {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  background: #27222b;

  padding: 24rem 16rem;

  > .btn {
    width: 24rem;
  }

  > .title {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;

    width: max-content;

    font-size: 16rem;
    font-weight: 500;
    line-height: 22rem;
    color: #fff;
  }
}

.mask {
  height: 72rem;
}
</style>
